Extended utilization area for a memory device

ABSTRACT

Methods, systems and devices for configuring access to a memory device are disclosed. The configuration of the memory device may be carried out by creating a plurality of access profiles that are adapted to optimize access to the memory device in accordance with a type of access. For example, when an application with specific memory access needs is initiated, the memory access profile that is designed for that particular access need may be utilized to configure access to the memory device. The configuration may apply to a portion of the memory device, a partition of the memory device, a single access location on the memory device, or any combination thereof.

PRIORITY APPLICATION

This application is a continuation of and claims priority to pendingU.S. patent application Ser. No. 13/951,169, filed Jul. 25, 2013, whichis a continuation of U.S. patent application Ser. No. 13/645,588, filedOct. 5, 2012 and issued as U.S. Pat. No. 8,601,228, which is acontinuation of U.S. patent application Ser. No. 12/039,672, filed Feb.28, 2008 and issued as U.S. Pat. No. 8,307,180, all of which areincorporated herein by reference.

FIELD OF INVENTION

The present invention relates generally to memory devices. Inparticular, the present invention relates to providing systems, methodsand devices for run-time configuration of mass memory devices.

BACKGROUND OF THE INVENTION

In a typical environment involving digital data processing and/or datacommunications, memory devices are invoked for a variety of reasons, forexample, to read, write, modify, delete, or change the attributes of thedata that resides on a memory device. These operations (hereinafterreferred to as memory ‘access’ operations) may be targeted to accessvarying chunks of data according the needs of an application programthat invokes the specific memory access operation. For example, anapplication may require access to a small chunk of data from randomaddresses, the same address, or sequential addresses on the memorydevice. Similarly, the same or a different application may requireaccess to large chunks of data from random addresses, the same address,or sequential addresses on the memory device. Examples of the differentapplications that may access a memory device include file systems,different databases, kernel reading code pages, and other applicationsthat use the memory device. applications that may access a memory deviceinclude file systems, different databases, kernel reading code pages,and other applications that use the memory device.

It is often the case that a mass memory device is optimized for one kindof application, or a defined group of applications, with particularmemory access characteristics. This optimization, for example, mayentail optimization of data throughput, life time and/or powerconsumption associated with the memory device. Due to this fixedoptimization strategy, when a memory device is placed into a differentenvironment with new access demands, it may fail to optimally performunder the requirements of the new environment. The lack of flexibilityin optimizing such memory devices may be partly due to inherentlimitations that render these memory devices incapable of accommodatingoptimized functionalities for multiple kinds of access operations. Inother cases, however, the reason for electing to a memory device for adefined, and thus limited, group of applications is to simplify thedesign, and to effect cost savings. In addition, it is generally verydifficult for a memory device to predict access requirements that arenecessitated by yet-to-be determined future application needs.

SUMMARY OF THE INVENTION

A method, system and memory device are therefore provided to overcomethe deficiencies of the prior art systems by allowing run-timeconfiguration of a mass memory device. In one embodiment of the presentinvention a method for configuring access to a memory device isprovided. The method comprises receiving one or more commands foractivating one or more access profiles associated with the memorydevice, and configuring access to the memory device in accordance withat least one of the access profiles. The access profiles may correspondto at least one of a random and a sequential mode of access. The accessprofiles may further correspond to at least one of a read, a write, anerase, and a modify attribute operation.

In another embodiment of the present invention, one or more accessprofiles are adapted to accommodate repeated access requests to anidentical address of the memory device. In another embodiment, one ormore access profiles are adapted to produce an optimized performanceassociated with the memory device. Furthermore, the performance may beoptimized in accordance with at least one of: data throughput, lifetime,and power consumption associated with the memory device.

In another embodiment of the present invention, one or more receivedcommands comprise a metadata portion for designating a preferred accessprofile corresponding to the command. Furthermore, a specific memorylocation may be utilized in accordance with the access profile. In oneembodiment, the specific memory location may comprise a section of thememory device with special characteristics. For example, it may includea more durable and performance-effective portion of the physical memory,or a portion of the memory that utilizes a specific memory technology.In another embodiment, the specific memory location may comprise aseparate physical memory chip.

In another embodiment of the present invention, one or more accessprofiles are associated with one or more partitions of the memorydevice. Yet, in another embodiment, the configuring of the memory deviceis adapted in parallel for two or more parallel access profiles. In oneembodiment, such configuring is carried out in accordance with JESD84standard for eMMC. This configuring may further comprise designatingaccess priority levels to resolve simultaneous access conflicts tomemory resources. In another embodiment of the present invention, thememory device is used to effect both mass memory and system memoryimplementations. In another embodiment, a default access profile may beused to configure the memory device upon power up.

Another aspect of the present invention relates to a memory device thatcomprises one or more registers for storing one or more predefinedaccess profiles associated with the memory device. The memory devicealso comprises receiving means for receiving one or more commands foractivating one or more access profiles associated with the memorydevice, and configuring means for configuring access to the memorydevice in accordance with at least one of the predefined accessprofiles. In another embodiment, a currently active access profile mayreside in a designated memory register. In another embodiment, one ormore of the predefined access profiles may be updated with a new versionof the access profile.

In another embodiment of the present invention, a computer programproduct embodied on a computer-readable medium is disclosed. Thecomputer program product comprises a computer code for receiving one ormore commands for activating one or more access profiles associated withthe memory device, and a computer code for configuring access to thememory device in accordance with at least one of the access profiles. Inanother embodiment, a system for accessing a memory device is disclosed.The system comprises an entity for receiving one or more commands foractivating one or more access types associated with the memory device,and an entity for configuring access to the memory device in accordancewith at least one of the access profiles. In another embodiment, asystem for accessing a memory device is disclosed. The system comprisesa host for issuing one or more commands in accordance with access needsfor the memory device, and an entity for receiving the commands andconfiguring access to the memory device in accordance with at least oneor more access profiles.

Those skilled in the art will appreciate that various embodimentsdiscussed above, or parts thereof, may be combined in a variety of waysto create further embodiments that are encompassed by the presentinvention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a perspective view of an exemplary electronic devicewithin which various embodiments of the present invention may beimplemented;

FIG. 2 illustrates an exemplary schematic representation of thecircuitry which may be included in the electronic device of FIG. 1.

FIG. 3 illustrates a flow diagram of an exemplary embodiment of thepresent invention.

FIG. 4 illustrates a flow diagram of another exemplary embodiment of thepresent invention.

FIG. 5 illustrates an exemplary device in accordance with an embodimentof the present invention.

DETAILED DESCRIPTION OF VARIOUS EMBODIMENTS

In the following description, for purposes of explanation and notlimitation, details and descriptions are set forth in order to provide athorough understanding of the present invention. However, it will beapparent to those skilled in the art that the present invention may bepracticed in other embodiments that depart from these details anddescriptions.

The problem of configuring a memory device for use in differentenvironments has been traditionally addressed by using separate memorydevices in systems with different use cases. For example, a system mayutilize a mass memory device separate from a system memory device toaccommodate different memory access demands.

The various embodiments of the present invention disclose methods,systems and devices to enable run-time configuration of a memory devicein accordance with certain memory access profiles. The configuration maybe effected for a portion of the memory device, a partition of thememory device, or even one single access location on the memory device.Since the system that accesses the memory device knows, or is capable ofdetermining, the type of memory access needs (e.g., whether it is aread, write, erase, modify attribute, random, or a sequentialoperation), it can issue commands for configuring the memory device inaccordance with an access profile that is most optimized/suitable forthe particular access command. Such access profiles, for example, may beadapted for optimizing data throughput, lifetime and/or powerconsumption associated with particular uses of the memory device. Inaddition, according to the embodiments of the present invention, adefault access profile may be defined to configure a memory device when,for example, the device or system initially boots up. Such a defaultprofile, while providing a starting point for potential futuremodifications, may be pre-selected to accommodate the most likely accessneeds for that memory device. This profile may remain in effect untilthe memory device is powered down, or it may be replaced by anotherprofile in accordance with the embodiments of the present invention.

In accordance with embodiments of the present invention, the informationregarding the nature and type of memory access allows the memory deviceto organize itself in a manner that is most suited for a particularaccess command, resulting in improved performance and higherreliability. These improvements are largely due to the elimination ofbackground operations and unnecessary data merging that are normallyassociated with traditional memory access methods. Although effective inboth the random and sequential memory access modes, the techniques ofthe various embodiments of the present invention may be more effectivein optimizing sequential memory access operations, where backgroundprocessing and data merging are more abundant. These optimizationsfurther extend the life of the storage device, and result in reducedenergy consumption by the device.

The embodiments of the present invention further enable the utilizationof the same memory device both as the mass storage memory and the systemmemory, thus eliminating the need for separate memory devices that areutilized in the systems of prior art. For example, all non-volatilememory needs of a system may be accommodated using a single eMMC memory,where the Operating System image, user data, and other parameters may bestored on the same device. Similarly, in multimedia applications thatrequire very high density mass storage devices (e.g., in the order ofseveral Gigabytes), the very same memory device may be used to store thevarious types of user applications, the Operating System and othersystem data files. This consolidation is expected to further spur theadoption of a standardized memory device with higher production volumes,and to eventually lead to lower-cost memory devices. The advent of suchcost-effective, single-memory devices are particularly beneficial to thedevelopment of mobile devices in which size and cost constraints aremost significant.

In accordance with one embodiment of the present invention, asillustrated in FIG. 5, a memory device 500 may comprise a physicalmemory 502 with one or more registers 504 for accommodating thepredefined access profiles that are used to optimize the memory device.The memory device 500 may further comprise a receiving means 510 that isadapted to receive one or more commands, through the communicationinterface 512, for activating a particular access profile. To facilitateunderstanding of the present embodiment, the receiving means 510 isillustrated as comprising a separate section of the controller 508.However, it is understood that the receiving means 510 and thecontroller 508 may also be implemented as a single entity. Upon thereceipt of one or more commands, the controller 508 may configure thememory device 500 in accordance with one or more access profiles thatreside in memory registers 504. The communication between the controller508 and the physical memory 502 may be conducted through the interface506.

By the way of example, and not limitation, one predefined access profilemay be a burst mode profile that facilitates high-speed transfer oflarge data chunks and provides a ‘ready’ indication to the host priorto, or after, such transfer. In order to minimize the transfer time, theneeded flash memory management operations may take place subsequent tothe transfer at a convenient time, for example, while no otheractivities or memory access operations are taking place. Another exampleof an access profile includes a random mode profile which enables quickaccess to short, random memory locations on the device. The memorydevice in accordance with embodiments of the present invention mayfurther comprise another register for accommodating the currently activeaccess profile. This profile, which may be any one of the supportedpredefined profiles, governs the current access operations to the memorydevice. For example, such register may comprise a default profile thatis activated during the boot up of the host system and/or the power upof the memory device. This active profile may remain in effect until thememory device is powered down, or it may be replaced by another profilein accordance with the embodiments of the present invention. Run-timeconfigurability of the memory device in accordance with the presentinvention is effected by replacing the contents of the currently activeprofile register with one of the predefined profiles that resides on thefirst set of registers. Accordingly, when the need for a new type ofmemory access arises, a command may be issued to activate a suitableprofile. The command may activate any one of the predefined accessprofiles, including but not limited to, the default profile.

In accordance with another embodiment, the various access profiles maybe updated or uploaded onto the memory device. For example, an existingaccess profile may be augmented (or completely replaced with a newversion) to add or remove certain features and functionalities.Alternatively, or additionally, an entirely new access profile may beuploaded to the memory device, thus increasing the number of availableaccess profiles that can be readily used to configure the memory device.By the way of example, and not by limitation, an access profile may beimplemented as a binary file that further comprises the required logicto implement an access profile. This way, the access profile may beconsidered part of the memory device firmware responsible for handlingspecific accesses needs in an optimized fashion.

FIGS. 1 and 2 show one representative electronic device 12 within whichembodiments of the present invention may be implemented. It should beunderstood, however, that the present invention is not intended to belimited to one particular type of device. In fact, the variousembodiments of the present invention may be readily adapted for use inany stand-alone or embedded system that comprises or accesses a memorydevice. The electronic device 12 of FIGS. 1 and 2 includes a housing 30,a display 32 in the form of a liquid crystal display, a keypad 34, amicrophone 36, an ear-piece 38, a battery 40, an infrared port 42, anantenna 44, a smart card 46 in the form of a UICC according to oneembodiment, a card reader 48, radio interface circuitry 52, codeccircuitry 54, a controller 56 and a memory 58. Individual circuits andelements are all of a type well known in the art, for example in theNokia range of mobile telephones.

FIG. 3 is an example flow diagram illustrating run-time configurabilityof a memory device in accordance to an embodiment of the presentinvention. As illustrated in FIG. 3, upon boot up of the system in step100, the memory device in accordance with embodiments of the presentinvention organizes itself according to the default profile in step 102.The exemplary default profile used in FIG. 3 configures the memorydevice to accommodate the reading of large sequential data from thememory device. In step 104, the system reads a large amount ofsequential data, which for example, may comprise the operating system ofthe host device. Upon completion of the large read operation, the systementers an idle state in step 106. Since the majority of memory accessoperations during an idle state is likely to involve short randomread/write operations, the memory device, in step 108, is commanded toactivate an access profile for reading/writing short random data. InStep 110, the system requires large sequential reads/writes. By the wayof example, and not by limitation, this need may arise when the systemis connected to an external mass storage device. Such a mass storagedevice may, for example, include a stand-alone memory device such as aUSB memory, or a PC or other electronic device that comprises one ormore mass storage components. In anticipation of large data transfersto/from the external memory device, the memory device in accordance withembodiments of the present invention, in step 112, receives a command toactivate the access profile that is optimized for reading/writing largesequential data. In step 114, the system conducts at least a portion ofthe large sequential read/write transfer. While the large data accessoperations may be completed without further interruptions, in oneexemplary embodiment, the system of the present invention may need toaccess the memory device in short, random I/O access cycles, asillustrated in step 116. In accordance with one embodiment of thepresent invention, in step 118, the memory device may receive a commandto suspend its current access profile, which is directed towardsreading/writing long sequential data, and activate an alternate accessprofile that is optimized for reading/writing short random data. Oncethe system completes short memory access operations in step 120, thememory device, in step 122, may receive a subsequent command to revertback to the access profile for reading/writing large sequential data.The system may then resume reading/writing large sequential data in step124.

As describe above, the example embodiment of the present invention asillustrated in FIG. 3 suspends the large data transfer while conductingshort I/O access operations. However, in some applications, it may beadvantageous to conduct two or more memory access operations inparallel. To this end, FIG. 4, illustrates an alternate embodiment ofthe present invention according to which two or more memory accessoperations (and their corresponding access profiles) may be implementedin parallel. In FIG. 4, steps 200 to 216 represent similar operations astheir counterparts in FIG. 3. Specifically, upon boot up in step 200,the memory device in accordance with embodiments of the presentinvention organizes itself according to the default profile in step 202.The exemplary default profile used in FIG. 4 configures the memorydevice to accommodate the reading of large sequential data from thememory device. In step 204, the system reads a large amount ofsequential data, which for example, may comprise the operating system ofthe host device. Upon completion of the large read operation, the systementers an idle state in step 206. Since the majority of memory accessoperations during an idle state is likely to involve short randomread/write operations, the memory device, in step 208, is commanded toactivate an access profile for reading/writing short random data. Thesystem may then require access to large sequential reads/writes in step210. This need may arise, for example, in preparation for large datatransfers to/from an external memory device. The memory device inaccordance with embodiments of the present invention, in step 212,receives a command to activate the access profile that is optimized forreading/writing large sequential data. In step 214, the system conductsat least a portion of the large sequential read/write transfers beforethe system need for short read/write access cycles to the memory devicearises in step 216. In contrast to the example embodiment of the presentinvention in accordance with FIG. 3, the present embodiment inaccordance with FIG. 4 accommodates both memory access modes bycommanding the memory device in accordance with embodiments of thepresent invention to activate a parallel access profile forreading/writing short random data in step 220. Accordingly, while thesystem continues to read/write large sequential data in step 218, it maysimultaneously (or in an interleaved fashion) conduct short memoryaccess operations in step 222.

While the embodiment of the present invention in accordance with FIG. 4was described in terms of only two simultaneous access profiles, it isunderstood that similar operations may be carried out to allow theimplementation of more than two access profiles in parallel. Onespecific parallel implementation of memory access profiles may berealized in a format that is compatible with the current JEDEC JC64 eMMCversion 4.3 (JESD84). JEDEC eMMC is a standardized mass storage devicecomprising a memory and a controller device. The controller handlesblock-management functions associated with the memory such as logicalblock allocation and wear leveling. The communication between the memoryand the host device is also handled by the controller according to astandard protocol. This protocol defines, among other signals, abidirectional command signal, CMD, that is used for deviceinitialization, and transfer of commands between the host and memorydevice. More specifically, CMD23 (SET_BLOCK_COUNT) defines the number ofblocks (read/write) and the reliable writer parameter (write) for ablock read/write command. CMD23 includes a 32 bit argument field, ofwhich bits 15 to 0 are allocated for setting the number of blocks forthe corresponding read/write command, and bits 30 to 16 are designatedas stuff bits. In accordance to one embodiment of the present invention,these stuff bits may be utilized to designate different access profilesfor the memory device. By the way of example, and not by limitation, oneprofile may be defined as a burst profile mode, corresponding to a fast,contiguous data access mode.

When in burst profile mode, the memory device, immediately afterreceiving all the data, may indicate “exit busy” and set the transfermode to “transfer state,” thus facilitating faster execution ofsubsequent accesses by the host. In addition, while the commandscorresponding to the first access profile are still being executed, thememory device may also enable the host to send additional commandscorresponding to a different access profile. This way, a degree ofparallelism in the I/O operations is established. Furthermore, accesspriority levels may be defined to resolve access conflicts, where two ormore profiles run in parallel and require access to the same memoryresource at the same time. Examples of such a memory resources include aRAM buffer, a Flash bus, and other memory resources.

In accordance with another embodiment of the present invention, theaccess profile associated with a media device may be adapted to comprisedifferent control and/or setting profiles that are associated withdifferent partitions of the memory device. Such partitions may compriselogical or physical partitions of the memory device. For example, onepartition may be configured for random read/write operations whileanother partition may be configured to provide sequential access.

In accordance with another embodiment of the present invention, a memoryaccess (e.g., an I/O read/write) command may be configured to comprise ametadata portion for designating a preferred access profilecorresponding to that access command. For example, the system inaccordance with the present invention may recognize that one address isbeing continuously and frequently updated, and accordingly, it may setan appropriate access profile for that memory command. The memorydevice—depending on its internal implementations and capabilities—maymap such sustained and specific access operations to certain sections ofthe physical memory with special characteristics. For example, themapping may be directed to a more a more durable andperformance-effective portion of the physical memory, a portion of thememory that utilizes a specific memory technology, or to a separatephysical chip that is more suitably designed for such repeated accessoperations. Thus, the memory device firmware may take an action inaccordance with the access profile request of an embodiment of thepresent invention and handle the 110 operation in a different way.

The various embodiments of the present invention are equally applicableto both the embedded memory devices, such as NAND, mass memory, XiP, andsimilar devices, as well as to removable memory cards.

The various embodiments described herein are described in the generalcontext of method steps or processes, which may be implemented in oneembodiment by a computer program product, embodied in acomputer-readable medium, including computer-executable instructions,such as program code, executed by computers in networked environments. Acomputer-readable medium may include removable and non-removable storagedevices including, but not limited to, Read Only Memory (ROM), RandomAccess Memory (RAM), compact discs (CDs), digital versatile discs (DVD),etc. Generally, program modules may include routines, programs, objects,components, data structures, etc. that perform particular tasks orimplement particular abstract data types. Computer-executableinstructions, associated data structures, and program modules representexamples of program code for executing steps of the methods disclosedherein. The particular sequence of such executable instructions orassociated data structures represents examples of corresponding acts forimplementing the functions described in such steps or processes.

The foregoing description of embodiments has been presented for purposesof illustration and description. The foregoing description is notintended to be exhaustive or to limit embodiments of the presentinvention to the precise form disclosed, and modifications andvariations are possible in light of the above teachings or may beacquired from practice of various embodiments. The embodiments discussedherein were chosen and described in order to explain the principles andthe nature of various embodiments and its practical application toenable one skilled in the art to utilize the present invention invarious embodiments and with various modifications as are suited to theparticular use contemplated. The features of the embodiments describedherein may be combined in all possible combinations of methods,apparatus, modules, systems, and computer program products.

What is claimed is:
 1. A method for configuring access to a memorydevice, comprising: receiving one or more commands for activating one ormore access profiles associated with the memory device; and configuringaccess to the memory device in accordance with at least one of theaccess profiles.
 2. The method of claim 1, wherein the one or moreaccess profiles correspond to at least one of a random and a sequentialmode of access.
 3. The method of claim 2, wherein the access profilescorrespond to at least one of a read, a write, an erase, and a modifyattribute operation.
 4. The method of claim 1, wherein the one or moreaccess profiles are adapted to accommodate repeated access requests toan identical address of the memory device.
 5. The method of claim 1,wherein the one or more access profiles are adapted to produce anoptimized performance associated with the memory device.
 6. The methodof claim 5, wherein the performance is optimized in accordance with atleast one of: data throughput, lifetime, and power consumptionassociated with the memory device.
 7. The method of claim 1, wherein theone or more commands comprise a metadata portion for designating apreferred access profile corresponding to the command.
 8. The method ofclaim 7, wherein a specific memory location is utilized in accordancewith the access profile.
 9. The method of claim 8, wherein the specificmemory location comprises a section of the memory device with specialcharacteristics.
 10. The method of claim 8, wherein the specific memorylocation comprises a separate physical memory chip.
 11. The method ofclaim 1, wherein the one or more access profiles are associated with oneor more partitions of the memory device.
 12. The method of claim 1,wherein the configuring is adapted in parallel for two or more accessprofiles.
 13. The method of claim 12, wherein the configuring is carriedout in accordance with JESD84 standard for eMMC.
 14. The method of claim12, further comprising designating access priority levels to resolvesimultaneous access conflicts to memory resources.
 15. The method ofclaim 1, wherein the memory device is used to effect both mass memoryand system memory implementations.
 16. The method of claim 1, furthercomprising a default access profile that is used to configure the memorydevice upon power up.
 17. A memory device, comprising: one or moreregisters for storing one or more predefined access profiles associatedwith the memory device; receiving means for receiving one or morecommands for activating one or more access profiles associated with thememory device; and configuring means for configuring access to thememory device in accordance with at least one of the predefined accessprofiles.
 18. The memory device of claim 17, wherein the one or moreaccess profiles correspond to at least one of a random and a sequentialmode of access.
 19. The memory device of claim 18, wherein the accessprofiles correspond to at least one of a read, a write, an erase, and amodify attribute operation.
 20. A system for accessing a memory device,comprising: a host for issuing one or more commands in accordance withaccess needs for the memory device; and an entity for receiving thecommands and configuring access to the memory device in accordance withat least one or more access profiles.